package com.trsj.lnsj.common;

import java.io.Serializable;

public abstract class CustomResponse implements Serializable {

  private static final long serialVersionUID = 1L;

  private int msgCode;
  private String message;

  public CustomResponse(int msgCode) {
    this.msgCode = msgCode;
    this.message = MsgStatus.getStatusText(msgCode);
  }

  public int getMsgCode() {
    return msgCode;
  }

  public void setMsgCode(int msgCode) {
    this.msgCode = msgCode;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }

}
